package com.deyou.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.deyou.R;
import com.deyou.base.BaseActivity;
import com.deyou.widget.CircleImageView;
import com.zhy.autolayout.AutoLayoutActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class OrderDetailActivity extends BaseActivity {

    @BindView(R.id.iv_left_back)
    ImageView ivLeftBack;
    @BindView(R.id.tv_mid_title)
    TextView tvMidTitle;
    @BindView(R.id.tv_order_number)
    TextView tvOrderNumber;
    @BindView(R.id.tv_order_status)
    TextView tvOrderStatus;
    @BindView(R.id.img_homestay)
    ImageView imgHomestay;
    @BindView(R.id.tv_homestay_name)
    TextView tvHomestayName;
    @BindView(R.id.tv_homestay_type)
    TextView tvHomestayType;
    @BindView(R.id.tv_homestay_price)
    TextView tvHomestayPrice;
    @BindView(R.id.img_owner_photo)
    CircleImageView imgOwnerPhoto;
    @BindView(R.id.tv_owner_name)
    TextView tvOwnerName;
    @BindView(R.id.btn_call_phone)
    ImageView btnCallPhone;
    @BindView(R.id.btn_send_msg)
    ImageView btnSendMsg;
    @BindView(R.id.tv_homestay_addr)
    TextView tvHomestayAddr;
    @BindView(R.id.tv_checkin_time)
    TextView tvCheckinTime;
    @BindView(R.id.tv_stay_days)
    TextView tvStayDays;
    @BindView(R.id.tv_checkout_time)
    TextView tvCheckoutTime;
    @BindView(R.id.tv_stay_persons)
    TextView tvStayPersons;
    @BindView(R.id.tv_total_money_title)
    TextView tvTotalMoneyTitle;
    @BindView(R.id.tv_total_money)
    TextView tvTotalMoney;
    @BindView(R.id.tv_unit_price)
    TextView tvUnitPrice;
    @BindView(R.id.tv_homestay_money)
    TextView tvHomestayMoney;
    @BindView(R.id.tv_clean_fee_title)
    TextView tvCleanFeeTitle;
    @BindView(R.id.tv_clean_fee)
    TextView tvCleanFee;
    @BindView(R.id.call_server_layout)
    RelativeLayout callServerLayout;
    @BindView(R.id.activity_order_detail)
    LinearLayout activityOrderDetail;

    @Override
    protected boolean translucentStatusBar() {
        return false;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_detail);
        ButterKnife.bind(this);
        initView();
    }

    private void initView(){
        tvMidTitle.setText("民宿详情");
    }

    @OnClick({R.id.iv_left_back, R.id.btn_call_phone, R.id.btn_send_msg, R.id.call_server_layout})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_left_back:
                finish();
                break;
            case R.id.btn_call_phone:
                break;
            case R.id.btn_send_msg:
                break;
            case R.id.call_server_layout:
                break;
        }
    }
}
